package com.dao;

import com.entity.Indept;
import com.entity.IndeptExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface IndeptDao {
    long countByExample(IndeptExample example);

    int deleteByExample(IndeptExample example);

    int deleteByPrimaryKey(Integer indeptid);

    int insert(Indept record);

    int insertSelective(Indept record);

    List<Indept> selectByExample(IndeptExample example);

    Indept selectByPrimaryKey(Integer indeptid);

    int updateByExampleSelective(@Param("record") Indept record, @Param("example") IndeptExample example);

    int updateByExample(@Param("record") Indept record, @Param("example") IndeptExample example);

    int updateByPrimaryKeySelective(Indept record);

    int updateByPrimaryKey(Indept record);
}